package com.wocao.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wocao.entity.ReqBody;
import com.wocao.entity.ZyCommunityInteraction;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * 社区互动表 Mapper 接口
 */
public interface ZyCommunityInteractionMapper extends BaseMapper<ZyCommunityInteraction> {

    Page<ZyCommunityInteraction> allPage(Page<ZyCommunityInteraction> page, @Param("reqBody") ReqBody reqBody);

    List<ZyCommunityInteraction> getCommunityInteractionMap(String interactionId);
}
